<?php
const PATH = "./";
if(!is_dir("src")){
    define("PHAR_PATH","phar://core.phar/");
}else{
    define("PHAR_PATH",PATH."src/");
}
const GLOBAL_LOG_PATH = PATH . "log/";
const GLOBAL_DATA_PATH = PATH . "data/";
const CORE_PATH = PHAR_PATH . "core/";
const STATIC_PATH = PHAR_PATH . "static/";
const CONFIG_PATH = PATH . "config/";
const COMMON_STATIC_PATH = STATIC_PATH."common/";
const COMMON_HTML_PATH = COMMON_STATIC_PATH."html/";

const RETURN_FORMAT_STRING = 1;
const RETURN_FORMAT_JSON = 2;
const RETURN_FORMAT_array = 3;

